filterNot

inline fun filterNot(predicate: (T) -> Boolean): Option<T>

Returns the same Some if the predicate is not satisfied for the value. Otherwise returns a None.

Return

The same Some if the predicate is not satisfied for the value. Otherwise returns a None.

Parameters

predicate

Predicate function.